Carbon


SetCollectionDefaultAttributes

Header: Collections.h Carbon status: Supported

Alters the default attributes of a collection object.

void SetCollectionDefaultAttributes (
    Collection c, 
    SInt32 whichAttributes, 
    SInt32 newAttributes
);
c

A reference to the collection object whose default attributes you want to alter. The behavior of this function is undefined if you do not provide a reference to a valid collection object.

whichAttributes

A mask indicating which bit flags in the c collection’s default attributes you want to alter. For every bit in the whichAttributes parameter, this function takes one of two actions:

newAttributes

The new values for the bit flags.

DISCUSSION

To examine the attributes of a collection object, use the GetCollectionDefaultAttributes function.

To change the attributes of a specific item in a collection, use the functions SetCollectionItemInfo and SetIndexedCollectionItemInfo.

AVAILABILITY

Supported in Carbon. Available in Mac OS 8.1 and later when Carbon 1.0.2 or later is present.


© 2000 Apple Computer, Inc. — (Last Updated 5/8/2000)